package com.gljx.web.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gljx.web.Entity.JournalEntry.RecruitStudentJournal;
import org.springframework.stereotype.Component;

@Component
public interface RecruitStudentJournalMapper {

	/**
	 * 查询本月(不含未交费,特招 特批)和已交小费人数
	 * @param companyId
	 * @param beginTime
	 * @param endTime
	 * @return
	 */
	List<RecruitStudentJournal> selRecruitStudentJournalNowMonth(@Param("companyId") String companyId, @Param("beginTime") String beginTime, @Param("endTime") String endTime
			, @Param("person") String person, @Param("deparment") String deparment);

	/**
	 * 以前入学本月交费人数
	 * @param companyId
	 * @param beginTime
	 * @param endTime
	 * @param personName
	 * @param className
	 * @return
	 */
	List<RecruitStudentJournal> selRecruitStudentJournalAgoMonth(@Param("companyId") String companyId, @Param("beginTime") String beginTime,
																 @Param("endTime") String endTime);

	/**
	 * 特批 和未交费人数 退学
	 * @param companyId
	 * @param beginTime
	 * @param endTime
	 * @return
	 */
	List<RecruitStudentJournal> selRecruitStudentJournalnotPayAndParticularAndDropOut(@Param("companyId") String companyId, @Param("beginTime") String beginTime,
																					  @Param("endTime") String endTime);
}
